feat: add mediacdn_edge_cache_service example for dynamic compression #815
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #b/394374465
Intending to use this snippet on the following page:
http://cloud/media-cdn/docs/quickstart#terraform
Leveraging the quick start documentation so new declarative features (compression_mode, allowed_methods, url_rewrite) may have a Terraform example.
Checklist
Readiness
Style
guide
-ish -- this is the only place in Media CDN that resources are "created". There are other places where resources are modified, i.e. a new option (created by a new feature) is turned on/off, or set up with required options.
Testing
Yes, but I was not able to use the test infrastructure because I did not have the createProject permission. So I tested the changes in my own project. Notes here:
https://b.corp.google.com/issues/394374465#comment11
terraform applyterraform fmtcheckIntended location
Location(s): http://cloud/media-cdn/docs/quickstart#terraform
Note, no further updates need to be made in that page, because we are just updating the sample, not creating a new one.
Reason:
API enablement
Review